package com.ldh.mod4j.businessdomain.generator;

import com.google.inject.Inject;
import org.eclipse.emf.ecore.resource.Resource;
import org.eclipse.xtext.generator.IFileSystemAccess;
import org.eclipse.xtext.generator.IGenerator;
import org.eclipse.xtext.naming.IQualifiedNameProvider;
import org.mod4j.dslcommon.generator.helpers.JavaTypeHelpers;

@SuppressWarnings("all")
public class BusinessDomainDslGenerator implements IGenerator {
  
  @Inject
  private IQualifiedNameProvider nameProvider;
  
  public void doGenerate(final Resource resource, final IFileSystemAccess fsa) {
    String _javaPrimitiveType = JavaTypeHelpers.javaPrimitiveType("integer", true);
    fsa.generateFile("a.txt", _javaPrimitiveType);
  }
}